package com.example.pages;

import org.openqa.selenium.*;
import org.openqa.selenium.support.ui.WebDriverWait;

public abstract class Page {

	public WebDriver driver;
	
	public boolean isOnThisPage() {
	return true;
	}
	
	abstract void tryToOpen();
	
	public WebDriverWait wait_for() {
		return new WebDriverWait(driver, 10);
	}
}
